// JavaScript Document
// alert(getNameWzExt("c:\\fff\\t.txt"));
function getNameWzExt(fpath)

{
	//fpath=fpath.replace("\\\\","\\/");
 //	alert(fpath);
var idx=	fpath.lastIndexOf("\\");

return fpath.substr(idx+1);
	
}